make : all 

all :bind websocket jsontest mysqltest  


mysqltest: mysqltest.cc 
	g++ -o $@ $^ -std=c++11 -L/usr/lib64/mysql -lmysqlclient 

jsontest: jsontest.cc 
	g++ -o $@ $^ -std=c++11 -lboost_system -ljsoncpp

websocket: websocket.cc 
	g++ -o $@ $^ -std=c++11 -lboost_system 

bind:bind.cc 
	g++ -o $@ $^ -std=c++11 

.PHONY:clean
clean: 
	rm -f bind websocket jsontest  mysqltest 
